<meta charset="gbk"/>
<h1>hello <?php echo $i ;?></h1>

<SCRIPT LANGUAGE="JavaScript" src="<?php echo $this->viewWebrootPath; ?>/js/ajax.js"></SCRIPT>

<SCRIPT LANGUAGE="JavaScript"> 
<!--
var input_value='0';
var input_name='data[city]';
var select_type='2';
var file='{SITE_URL}/admin/?app=group&act=doajax';
var DIV_idb='DIV_idb'+Math.random();
var input_idb='input_idb'+Math.random();
document.write("<span id='"+DIV_idb+"'></span>");
document.write("<input type='hidden' id='"+input_idb+"' name='"+input_name+"'  size='5' value='"+input_value+"'>");
get_div_S(DIV_idb,DIV_idb,input_idb,select_type,'',input_value);

function get_div_S(showThisId,fuid,inputid,type,fid,ckfid){
	AJAX.get(showThisId,file+"&fuid="+fuid+"&inputid="+inputid+"&type="+type+"&fid="+fid+"&ckfid="+ckfid);
}


//-->
</SCRIPT>










<?php
$this->TagsModel('test',array('table' => '`post` AS `post`', 'fields' => '`post`.`id` as icon1,`post`.`title` as icon2, `post`.`content` as icon3, `post`.`num` as icon4',
					'conditions' => '1 = 1',	'order' => '',
					'limit' => '2', 'url' => '3',
					'page' => 1,'plist' => 6
					));



?>
<br/><br/><br/><br/><br/><br/>

<psp:tags   labels='test'  iconname='label1' />


<psp:tags   htmlname='icon1'  iconname='icon1'  fields='post.title:icon1|post.content:icon2|post.id:icon3|'  tablename='post'  conditions=' 1=1 '  order=' post.id desc '  limit='2'      activebefore='test'  activeperiod='test'  activeafter='test'  activetime='2012-12-25 0:30:0,2012-12-25 1:30:0'     />

<psp:tags   cachedatadir='scup.nav.php'  cachefields='name:icon1|link:icon2|whree:icon3|'  htmlname='nav'  iconname='nav' />



<psp:tags     icondata='rollpic'  iconfields='upfile:icon1|description:icon2|'  htmlname='rollpicred'  iconname='rollpic' />  





 
<br/><br/><br/><br/><br/><br/>
/*$this->TagsModel('SELECT `post`.`id` as icon1,`post`.`title` as icon2, `post`.`content` as icon3, `post`.`num` as icon4, `post`.`created` as icon5 FROM `post` AS `post` WHERE 1 = 1 LIMIT 3, 3','test');*/
SELECT content_1.productname as icon1 ,content_1.my_pic as icon2 ,content_1.id as icon3  FROM scup_content_1 content_1 WHERE is_show=1 and ( id=12 or id=11 or id=10 or id=9 or id=8 or id=2 or id=1 )   ORDER BY content_1.add_time desc   LIMIT 0,20 
